<template>
  <div class="user-box">
    <el-container>
      <el-aside width="200px">
        <el-breadcrumb separator="/">
          <el-breadcrumb-item>
            <el-icon><HomeFilled /></el-icon>
          </el-breadcrumb-item>
          <el-breadcrumb-item>会员中心</el-breadcrumb-item>
        </el-breadcrumb>
        <el-menu
          :default-active="$route.path"
          class="el-menu-vertical-demo"
          router
        >
          <el-menu-item index="/user/cetificationPage">
            <el-icon><Notification /></el-icon>
            <span>实名认证</span>
          </el-menu-item>
          <el-menu-item index="/user/orderPage">
            <el-icon><Document /></el-icon>
            <span>挂号订单</span>
          </el-menu-item>
          <el-menu-item index="/user/patientPage">
            <el-icon><Monitor /></el-icon>
            <span>就诊人管理</span>
          </el-menu-item>
          <el-menu-item index="/user/profilePage">
            <el-icon><setting /></el-icon>
            <span>账号信息</span>
          </el-menu-item>
          <el-menu-item index="/user/feedbackPage">
            <el-icon><CopyDocument /></el-icon>
            <span>意见反馈</span>
          </el-menu-item>
        </el-menu>
      </el-aside>
      <el-main>
        <RouterView></RouterView>
      </el-main>
    </el-container>
  </div>
</template>

<script>
export default {
  name: "UserPage",
};
</script>

<style lang="scss" scoped>
.user-box {
  .el-breadcrumb {
    margin-left: 26px;
  }
}
</style>
